<?xml version="1.0" encoding="UTF-8"?>
<definitions
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">

  <process id="eventSubprocessTimerJobPrioProcess" camunda:jobPriority="8" isExecutable="true">

    <startEvent id="start"/>
    <sequenceFlow id="flow1" sourceRef="start" targetRef="task1" />
    <userTask id="task1" />
    <sequenceFlow id="flow2" sourceRef="task1" targetRef="end" />
    <endEvent id="end" />

    <!-- event subprocess -->
    <subProcess id="subProcess" name="Subprocess" triggeredByEvent="true">
      <startEvent id="subprocessStartEvent" isInterrupting="true" camunda:jobPriority="25">
        <timerEventDefinition>
          <timeDuration>PT1M</timeDuration>
        </timerEventDefinition>
      </startEvent>
      <sequenceFlow id="flow3" sourceRef="subprocessStartEvent" targetRef="subprocessEndEvent" />
      <endEvent id="subprocessEndEvent" />
    </subProcess>

  </process>

</definitions>
